package com.bootx.service.impl;

import com.bootx.dao.WriteToolTaskDao;
import com.bootx.entity.WriteToolTask;
import com.bootx.service.WriteToolTaskService;
import jakarta.annotation.Resource;
import org.springframework.stereotype.Service;

/**
 * @author black
 */
@Service
public class WriteToolTaskServiceImpl extends BaseServiceImpl<WriteToolTask,Long> implements WriteToolTaskService {

    @Resource
    private WriteToolTaskDao writeToolTaskDao;

    @Override
    public WriteToolTask findBySn(String sn) {
        return writeToolTaskDao.find("sn",sn);
    }
}
